<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>判断类型</title>
</head>
<body>
<script>
    var str=["object"];
    console.log(Object.prototype.toString.call(str));
    console.log(Object.prototype);
</script>
</body>
</html>